home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 13
/
CU Amiga Magazine's Super CD-ROM 13 (1997)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1997-08].iso
/
CUCD
/
Graphics
/
Ghostscript
/
readmes
/
gs403src_zlib.readme
< prev
Wrap
Text File
|
1997-06-03
|
2KB
|
59 lines
Short: Ghostscript4.03 Zlib sources
Author: GS(Aladdin)/Amiga(Olaf Barthel)/Port(me)
Uploader: JoopvandeWege@mail.mococo.nl
Type: gfx/show
This is the original Zlib source archive in lha format instead
of tar.gz. You'll need the following two archives to be able to recompile
GS:
gs403src_png.lha
Comments/Suggestions/Bugs to:
JoopvandeWege@mail.mococo.nl
Please use a Subject field with the name 'GS403' in it.
Please direct all mail to me except when you're 100% sure it is a GS
problem then you can use the Aladdin email address.
Joop van de Wege
Recompiling GS:
Steps needed to be done to recompile GS from scratch using GCC2.63/2.70:
Get gs403src_gs.lha
Get gs403src_amiga.lha
Get gs403src_jpg6a.lha
Get gs403src_zlib.lha
Get gs403src_png.lha
Unpack gs403src to HD, a directory 'gs4.03' will be created.
Unpack to the same HD (files will also be placed into 'gs4.03':
- gs403amiga.lha, overwriting some files. This is OK
gs403amiga.lha contains:
- gdevamiga.c, the amiga device driver from Olaf Barthel
- gdevpipe.c, patched for use with Libnix
- gp_amiga.c, platform dependant stuff for the Amiga
- Configure.in/Makefile.in to rebuild Makefile and be able
to separate source and build directory.
- gs403src_jpg6a which creates the 'jpeg-6' directory
- gs403src_zlib which creates the 'zlib' directory
- gs403src_png which creates the 'libpng' directory
- edit gcc-head.mak.in, the lines DEVICES_DEVSx= .....
(add/remove devices to your desire), save!
- cd to your build directory (cd work:build/gs)
- sh work:source/gs4.03/configure --prefix=Ghostscript:
(configure tests your configuration, generates Makefile)
- make
- make install
The last two archives are not needed when you don't intend to rebuild GS
with PNG support.
If you haven't forgotten to set the stack to a reasonable amount (~50K),
you can sit back and have a cup of coffee. On my A3000 it takes about 2.5h
(1-1.5h when using PowerCache) to compile with the current device driver
set and the file 'gdevamiga.c' needs about 7-8Mb when -O2 is on. It needs
less if you don't optimize :)
Make itself takes another 2Mb so in case of problems just compile
gdevamiga.c on its own and let make resume after that. GCC2.7.2.1 (?) (Aminet)
works with VMM3.3 (on Aminet too).